package borderPatrol.Data;

import java.util.LinkedList;
import java.util.Stack;

import borderPatrol.misc.History;

public class PatrollerBoard extends Board {

	public PatrollerBoard(int width, int height) {
		super(width, height);
	}

	public PatrollerBoard(int width, int height, Stack<int[][]> history, int[] poacherPosition, int[] patrollerPosition, int round, String id,
			String poacherId, String patrollerId, LinkedList<History> possiblePoacherHistories, LinkedList<History> possiblePatrollerHistories) {
		super(width, height, history, poacherPosition, patrollerPosition, round, id, poacherId, patrollerId, possiblePoacherHistories, possiblePatrollerHistories);
	}

	public LinkedList<Move> getAvailableActions() {
		return patrollerActions;
	}

	public int[] getPosition() {
		return patrollerPosition;
	}

	public LinkedList<int[]> getPossiblePositionsOfOpponent() {
		return getPossiblePositionsOfOpponent(2);
	}
	
	@Override
	public String getId() {
		return patrollerId;
	}
}
